<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/10/2
  Time: 9:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":"
            + request.getServerPort() + path + "/";
%>

<html>
    <base href="<%=basePath%>"/>
    <title>挂号</title>
</head>
<body>
<form action="<%=basePath%>hospital/registration" method="post">
    <table border="1px">
        <tr>
            <td>姓名</td>
            <td><input type="text" name="name" value="" /></td>
        </tr>

        <tr>
            <td>性别</td>
            <td><input type="text" name="sex" value="" /></td>
        </tr>

        <tr>
            <td>年龄</td>
            <td><input type="text" name="age" value="" /></td>
        </tr>

        <tr>
            <td>电话</td>
            <td><input type="text" name="phone" value="" /></td>
        </tr>

        <tr>
            <td>医师类别</td>
            <td><input type="text" name="department" value="" /></td>
        </tr>

        <tr>
            <td>价格</td>
            <td><input type="text" name="price" value="" /></td>
        </tr>

        <tr>
            <td>挂号时间</td>
            <td><input type="date" name="time" value="" /></td>
        </tr>

        <tr>
            <td colspan="2">
                <input type="submit" value="确定" />
            </td>
        </tr>
    </table>
</form>

</body>
</html>
